#ifndef __ADC_FUNC_H__
#define __ADC_FUNC_H__

#include <boost/shared_ptr.hpp>
#include <boost/property_tree/ptree.hpp>

#include <HAL/functionInterface.h>

namespace ECG
{
    namespace HAL
    {
        class ADC_Func : public FuncInterface
        {
        public:
          virtual int open(const char *path);
          virtual void close(int fd);
          virtual bool configure(int fd, const boost::property_tree::ptree &hwConf);
          virtual int read(int fd, char *buf, std::size_t size);
          virtual int write(int fd, const char *buf, std::size_t size);
        };
    }
}

#endif //__ADC_FUNC_H__
